uniform mat4 pMatrix;
uniform mat4 mvMatrix;

attribute vec3 a_position;

varying vec3 vTexCoord;

void main(void) {
	vec4 pos = vec4(a_position,1.0);
	vTexCoord = pos.xyz;
	gl_Position = pMatrix * mvMatrix * pos;
}